package com.lancer.cloud.engine.service;

import com.lancer.cloud.common.base.service.BaseService;
import com.lancer.cloud.engine.dto.EngineMonitorLogDto;
import com.lancer.cloud.engine.entity.EngineMonitorLog;

/**
 * 引擎日志接口
 *
 * @author caijinbang
 * @date 2019-06-22 17:17
 */
public interface EngineLogService extends BaseService<EngineMonitorLog> {


    /**
     * 保存监控日志
     * @param log 执行日志
     */
    void insertMonitorLog(EngineMonitorLog log);

    /**
     * 构建引擎监控日志对象
     * @return
     */
    EngineMonitorLog buildEngineMonitorLog(EngineMonitorLogDto engineMonitorLogDto);
}
